package com.zj.healthmanage.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.zj.healthmanage.mapper.SportslibraryMapper;
import com.zj.healthmanage.pojo.Sportslibrary;
import com.zj.healthmanage.service.SportslibraryService;
@Service
public class SportslibraryServiceImpl implements SportslibraryService{

    @Resource
    private SportslibraryMapper sportslibraryMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return sportslibraryMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Sportslibrary record) {
        return sportslibraryMapper.insert(record);
    }

    @Override
    public int insertSelective(Sportslibrary record) {
        return sportslibraryMapper.insertSelective(record);
    }

    @Override
    public Sportslibrary selectByPrimaryKey(Integer id) {
        return sportslibraryMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Sportslibrary record) {
        return sportslibraryMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Sportslibrary record) {
        return sportslibraryMapper.updateByPrimaryKey(record);
    }

}
